package com.huaxin.feignclient.system.models;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class Family extends BaseModel {
    /**
     * 家庭名称
     */
    @Schema(description = "家庭名称", example = "温暖的小家")
    private String name;

    /**
     * 家庭地址
     */
    @Schema(description = "家庭地址", example = "中国-北京-东城区-东直门")
    private String address;
    /**
     * 区域
     */
    @Schema(description = "区域", example = "500010001")
    private String area;
    /**
     * 经度
     */
    @Schema(description = "经度", example = "116.397128")
    private String longitude;

    /**
     * 纬度
     */
    @Schema(description = "纬度", example = "39.908")
    private String latitude;
    /**
     * 家庭成员，逗号分隔，一个家庭最多只能设置10个成员
     */
    @Schema(description = "家庭成员，逗号分隔，一个家庭最多只能设置10个成员", example = "")
    private String familyMembers;
}
